//
//  ThroadToServer.h
//  PiPiPineapple
//
//  Created by 李晓东 on 17/10/28.
//  Copyright © 2017年 PeanutXu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DoubleChromosphere.h"

typedef void (^ResultOfDoubleChromosphere)(id);
#define Query @"query";
#define History @"history"


@interface ThroadToServer : NSObject

+ (instancetype)shareThroadToServer;
- (instancetype)initWithParams:(ResultOfDoubleChromosphere)resultBlock;
- (void)loadDoubleChromosphereByIssueno:(NSString *)issueno;
- (NSArray *)loadDoubleChromospheresByIssueno:(NSString *)issueno andRows:(NSInteger)row;

- (NSArray *)loadDoubleChromosphereOfType:(NSString *)method withIssueno:(NSString *)issueno ofNumber:(NSInteger)number;
@end
